package com.limit.model;

import java.util.List;

import com.jfinal.plugin.activerecord.Model;

public class Module extends Model<Module> {

	private static final long serialVersionUID = 1L;

	public static final Module dao = new Module();

	/** 
	 * 根据pid获取记录
	 */
	public List<Module> getListByPid(long pid) {
		return Module.dao.find("select * from module where pid=?",pid);
	}
	
	
}
